From: Jonas Dreßler Date: Thu, 6 Dec 2018 17:05:39 +0000 (+0100) Subject: switcherPopup: Always return true when the popup finished early X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~24 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=09acd0a3dbd65b5804c4c10f4df8e68eefc860f8;p=gnome-shell.git switcherPopup: Always return true when the popup finished early When the switcherPopup was initiated successfully, we return true, otherwise the WindowManager will try to destroy it. Since an early release of the keystroke will also switch to another application and close the switcher just fine, we should return true to indicate success here. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/167 --- diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index f7ee2e769..f9888d4f5 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -130,7 +130,7 @@ var SwitcherPopup = GObject.registerClass({ let [x_, y_, mods] = global.get_pointer(); if (!(mods & this._modifierMask)) { this._finish(global.get_current_time()); - return false; + return true; } } else { this._resetNoModsTimeout();